function TargetofPartyHealthCheck(self)
	local prefix = self:GetParent():GetName();
	local unitHPMin, unitHPMax = self:GetMinMaxValues();	
	local unitCurrHP = self:GetValue();
	self:GetParent().unitHPPercent = unitCurrHP / unitHPMax;
	if ( UnitIsDead("party"..self:GetParent():GetID().."target") ) then
		getglobal(prefix.."Portrait"):SetVertexColor(0.35, 0.35, 0.35, 1.0);
	elseif ( UnitIsGhost("party"..self:GetParent():GetID().."target") ) then
		getglobal(prefix.."Portrait"):SetVertexColor(0.2, 0.2, 0.75, 1.0);
	elseif ( (self:GetParent().unitHPPercent > 0) and (self:GetParent().unitHPPercent <= 0.2) ) then
		getglobal(prefix.."Portrait"):SetVertexColor(1.0, 0.0, 0.0);
	else
		getglobal(prefix.."Portrait"):SetVertexColor(1.0, 1.0, 1.0, 1.0);
	end
	UnitFrameHealthBar_OnValueChanged(self,arg1);
end